<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Like extends Model
{
    protected $table = 'likes';
    public $fillable = ['cid', 'uid'];

    public function content()
    {
        return $this->belongsTo('App\Model\Content', 'cid', 'id');
    }
}